﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace entity
{
    /// <summary>
    ///StockNotice 的摘要说明
    /// </summary>
    public class StockNotice
    {
        public string StockId
        {
            get;
            set;
        }

        public string StockName
        {
            get;
            set;
        }

        public long? NoticeId
        {
            get;
            set;
        }

        public string Title
        {
            get;
            set;
        }

        public DateTime? NoticeDate
        {
            get;
            set;
        }

        public string StrNoticeDate
        {
            get
            {
                if (NoticeDate.HasValue)
                {
                    return NoticeDate.Value.ToString("yyyy-MM-dd");
                }
                else
                {
                    return string.Empty;
                }
            }
        }

        public DateTime? MeetDate
        {
            get;
            set;
        }

        public string StrMeetDate
        {
            get
            {
                if (MeetDate.HasValue)
                {
                    return MeetDate.Value.ToString("yyyy-MM-dd");
                }
                else
                {
                    return string.Empty;
                }
            }
        }

        public string Content
        {
            get;
            set;
        }
    }
}